package org.dromara.system.domain.vo;

import com.alibaba.fastjson2.JSONObject;
import lombok.Data;
import org.dromara.system.domain.PayGroupAccount;
import org.dromara.system.domain.PayOrder;
import org.dromara.system.domain.bo.config.ApiConfig;

@Data
public class PushOrderVo {

    private PayOrder order;
    private ApiConfig.PayMethod payMethod;
    private JSONObject nodeParams;// 节点参数

    public PushOrderVo(){}

    public PushOrderVo(PayOrder order){
        this.order = order;
    }

    public PushOrderVo(PayOrder order, JSONObject nodeParams, ApiConfig.PayMethod payMethod){
        this.order = order;
        this.nodeParams = nodeParams;
        this.payMethod = payMethod;
    }

    public PushOrderVo(PayOrder order, ApiConfig.PayMethod payMethod){
        this.order = order;
        this.payMethod = payMethod;
    }

}
